<template>
  <div>
    <button @click="goto">goto</button>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
const goto = ()=> {
  router.push('/shixun/ceshi')
} 
</script>